package dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import entity.Command;
import entity.CommandContent;

public interface Command_dao {
	public List<Command> getDescription(@Param("command")String command,@Param("id")Integer id);
	public CommandContent getContent(String description);
	
	public boolean updateCommandContent(CommandContent commandContent);
	public boolean updateCommand(Command command);
	
	public boolean saveCommandContent(CommandContent commandContent);
	public boolean saveCommand(Command command);	
	
	public boolean deleteCommand(Integer id);
	public boolean deleteCommandContent(Integer id);
}
